home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / biz / dbase / GenTree.lzh / GenTree / Docs / AppendixA < prev    next >
Encoding:
Text File  |  1995-03-10  |  2.0 KB  |  42 lines

  1. Appendix A    Date Formats
  2.  
  3.     Many places in the program you have to enter dates.  GenTree is very flexible 
  4. about the format of these dates.  The basic date format is
  5. [Qualifier] DD-MON-YYYY [AD/BC]
  6. or
  7. Between DD-MON-YYYY and DD-MON-YYYY
  8. or
  9. Seenotes
  10. where Qualifier is About, Before, or After
  11. Between, And, and Seenotes are literals
  12. DD is the day, 1 or 2 digits
  13. MON is the at least first three letters of the month
  14. YYYY is the complete year (i.e.  1993, not 93). 
  15. AD/BC are optional qualifiers, Anno Domini and Before Christ respectively
  16. For example, About 16-Apr-1993 is a valid date. 
  17.  
  18. The rules for date formats are:
  19. ·    The Qualifiers; About, Before, and After; may be used with any legal date.   Ex-
  20. amples: "About 1892", "Before Jan 1900", and "After 100 BC".
  21. ·    The qualifier combination, Between-And, cannot be used in combination with 
  22. any of the other qualifiers i.e. "Between About 1990 and 1991" is not legal.
  23. ·    Valid elements of a date may be in any order.  The only exception is the Be-
  24. tween-And range date; the qualifiers must be in their correct position.  Examples: 
  25. "Jan 27 1993", "1993 Jan 27", "27 Jan 1993 About". 
  26. ·    Valid elements must be separated by any non-alphanumeric character.  Ex-
  27. amples: "7/August/1993", "Jun,3,1992", "About&3&Jun&1993".
  28. ·    Two or one digit years must have leading zeroes in front.  Examples: "072  AD", 
  29. "003 BC", "Before 001 AD". 
  30. ·    Years may be entered alone (without month and day).  Year and Month may be 
  31. entered alone (without day).  If you enter a day, you must have the month and 
  32. year.  Examples: "1966", "Aug 1966". 
  33. ·    Seenotes cannot be used with anything else.  This date should be used when 
  34. you have a format that cannot be handled by GenTree.
  35. ·    Double dating is NOT supported i.e.  "Jan 12 1772/1773".
  36. ·    Dates are not case-sensitive.
  37.  
  38.     When entering dates in GenTree fields, hit return to have the date format verified 
  39. immediately.  If there is something not understood, you will be notified.  In addition, if 
  40. you have set the Convert Date format in preferences, GenTree will translate your date 
  41. to the format above. 
  42.